﻿#pragma once

#include "AbilitySystemBlueprintLibrary.h"
#include "TestAttributeSet.h"
#include "TestAbilitySystemBlueprintLibrary.generated.h"

UCLASS()
class TEST002_API UTestAbilitySystemBlueprintLibrary: public UBlueprintFunctionLibrary
{
	GENERATED_BODY()
	
	UFUNCTION(BlueprintPure, Category = "Ability|Attribute")
	static bool GetBoolAttributeFromAbilitySystemComponent(const UAbilitySystemComponent* AbilitySystem, FGameplayAttribute Attribute, bool& bSuccessfullyFoundAttribute);

	UFUNCTION(BlueprintPure, Category = "Ability|Attribute", meta = (DisplayName = "GetJobTypeAttributeFromAbilitySystemComponent"))
	static EJobType GetEJobTypeAttributeFromAbilitySystemComponent(const UAbilitySystemComponent* AbilitySystem, FGameplayAttribute Attribute, bool& bSuccessfullyFoundAttribute);
};

